//
//  PFCommonRectManager.h
//  PrintFamily
//
//  Created by edaihua on 16/3/23.
//  Copyright © 2016年 ___PrintFactory___. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface PFCommonRectManager : NSObject

@property (nonatomic) CGSize       frameSize;        // target frame size on screen, screen wise
@property (nonatomic) CGSize       targetPhotoSize;  // target photo size on screen, screen wise
@property (nonatomic) CGRect       targetPhotoRectInResizeView;

@property (nonatomic) CGFloat      boarderWidth;


- (PFCommonRectManager*)initWithType:(PhotoPrintType)type boarder:(PhotoBoarder)boarder;

- (CGRect)getTargetPhotoRectInResizeView;
+ (CGSize)getMasterCellSizeWithType:(PhotoPrintType)type;

- (CGFloat)getPhotoFrameOriginXInMasterCell;
- (CGFloat)getPhotoFrameOriginYInMasterCell;

@end
